package dome3;

public class Main {
    public static void main(String[] args) {
        ElectricCar tesla = new ElectricCar("特斯拉", 4, 75);
        tesla.move();     // 继承自Vehicle
        tesla.drive();    // 继承自Car
        tesla.charge();   // ElectricCar特有方法
    }
}
